﻿<%@ Page PathInChannel="category/{ID}{Page}{Ext}" Object="ArticleCategory" %>
<%@ OutputCache Duration="7200" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ali:Get ID="ArticleCategory" Object="ArticleCategory" PageID="Request.QueryString['ID']" ForMeta="true" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<%=MetaKeywords%>" />
<meta name="description" content="<%=MetaDescription%>" />
<title><%=ArticleCategory[Name]%>（最新发布） - <%=Channel[Name]%> - <%=Site[Name]%></title>
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/menubar.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>menubar.css" />
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _lang = "<%=PageLang%>";
</script>
</head>
<body>
<!-- TemplateBeginEditable name="菜单" -->
<div class="Wrap">
	<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL and ParentID IS NULL">
		<div class="Menu">
			<ali:Record>
				<ali:Select>
					<ali:Yes>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><strong><%=Name%></strong></a>
					</ali:Yes>
					<ali:No>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
					</ali:No>
				</ali:Select>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</ali:Menu>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：文章 - Banner" -->
<div class="Wrap">
	<div class="Ad1">
		<ali:Ad Guid="{09F08247-0C8C-4016-9C9F-5C485D0BB7E2}">
			<a href="http://www.alibaza.com" target="_blank"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:980px;height:100px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="文章类别" -->
<ali:List Object="ArticleCategory" Condition="IsDisplay=true and ParentID IS NULL">
	<div class="SubMenu">
		<div class="Left"></div>
		<div class="Middle">
			<ul id="MenuBar">
				<ali:Record>
					<li>
						<a href="<%=BuildUrl()%>"<%=Style%>><%=Name%></a>
						<ali:List Object="ArticleCategory" Condition="IsDisplay=true and ParentID=ID">
							<ul>
								<ali:Record>
									<li><a href="<%=BuildUrl()%>"<%=Style%>><%=Name%></a></li>
								</ali:Record>
							</ul>
						</ali:List>
					</li>
				</ali:Record>
			</ul>
		</div>
		<div class="Right"></div>
		<br clear="all" />
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="搜索" -->
<div class="Wrap">
	<form id="Search" action="<%=BuildUrl("search")%>" target="_blank">
		请输入关键词：
		<input type="text" name="q" size="40" class="Text <%=PageLang%>Font" />
		<input type="submit" value="搜 索" class="Submit" />
	</form>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<!-- TemplateBeginEditable name="广告位：文章 - 搜索下方 - 左" -->
	<div class="Ad2">
		<ali:Ad Guid="{17B2126F-3AF5-4b27-A92D-2789D3045F84}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad4.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：文章 - 搜索下方 - 中" -->
	<div class="Ad2">
		<ali:Ad Guid="{21F87B51-A7EB-4ecc-B2C1-3AE5C98A3CDF}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:480px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：文章 - 搜索下方 - 右" -->
	<div class="Ad2">
		<ali:Ad Guid="{2C248EFF-446E-4180-8280-373F088DC289}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad8.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
</div>

<!-- TemplateBeginEditable name="路径" -->
<div class="Wrap">
	<div class="Path">当前位置：
		<ali:Path IncludeCurrentChannel="True">
			<ali:Record>
				<a href="<%=URL%>" title="<%=Name%>"><%=Name%></a> &gt; 
			</ali:Record>
		</ali:Path>
		<a href="<%=BuildUrl("list")%>" title="文章列表">文章列表</a> &gt; <%=ArticleCategory[Name]%>（最新发布）
	</div>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Block7 MarginRight">
		<!-- TemplateBeginEditable name="广告位：文章 - 侧栏顶部" -->
		<div class="Block5">
			<ali:Ad Guid="{6A2579D6-A2C5-4a2d-B484-3B06AC5BD27D}">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad3.gif" alt="Ad" style="width:308px;height:60px" /></a>
			</ali:Ad>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="分 类" -->
		<div class="Block5">
			<h4>分 类</h4>
			<ali:List Object="ArticleCategory" Condition="IsDisplay=true">
				<ul class="List7">
					<ali:Record>
						<%If String.Equals(PageID, Request.QueryString["ID"])%>
							<li><a><strong><%=Name%></strong></a></li>
						<%Else%>
							<li><a href="<%=BuildUrl()%>" title="<%=Name%>"><%=Name%></a></li>
						<%EndIf%>
					</ali:Record>
				</ul>
			</ali:List>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="类 型" -->
		<div class="Block5">
			<h4>类 型</h4>
			<ul class="List7">
				<li><a href="<%=BuildUrl("type", 0)%>">文本</a></li>
				<li><a href="<%=BuildUrl("type", 1)%>">图片</a></li>
				<li><a href="<%=BuildUrl("type", 2)%>">音频</a></li>
				<li><a href="<%=BuildUrl("type", 3)%>">视频</a></li>
				<li><a href="<%=BuildUrl("type", 4)%>">Flash</a></li>
				<li><a href="<%=BuildUrl("type", 5)%>">文件</a></li>
			</ul>
		</div>
		<!-- TemplateEndEditable -->

		<!-- TemplateBeginEditable name="标 签" -->
		<div class="Block5">
			<h4>标 签</h4>
			<ali:List Object="Article.Tag" Operation="FilterList(1, 20, null)">
				<ul class="List7">
					<ali:Record>
						<li><a href="<%=BuildUrl("tag", "PageTemplate=" + TagPageTemplate + "&ID=" + TagPageID + "&Ext=" + TagPageExtension)%>" title="<%=TagName%>"><%=TagName%></a></li>
					</ali:Record>
					<li><a href="<%=BuildUrl("tag_list")%>" title="更多标签">更多标签...</a></li>
				</ul>
			</ali:List>
		</div>
		<!-- TemplateEndEditable -->

		<!-- TemplateBeginEditable name="广告位：文章 - 侧栏底部" -->
		<div class="Block5">
			<h4></h4>
			<div class="Ad14">
				<ali:Ad Guid="{59C7A345-DC76-4c4f-AA38-3F7C679317AD}">
					<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad14.gif" alt="Ad" style="width:200px;height:200px" /></a>
				</ali:Ad>
			</div>
		</div>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Block4">
		<ul class="TabMenu">
			<li class="Selected"><a><span>最新发布</span></a></li>
			<li><a href="<%=BuildUrl("article_category_hit", ArticleCategory)%>"><span>最多浏览</span></a></li>
			<li><a href="<%=BuildUrl("article_category_recommend", ArticleCategory)%>"><span>站长推荐</span></a></li>
			<li><a href="<%=BuildUrl("article_category_up", ArticleCategory)%>"><span>用户推荐</span></a></li>
		</ul>
		
		<!-- TemplateBeginEditable name="列表" -->
		<ali:List ID="List" Object="Article" Page="PageNumber" PageSize="25" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ArticleCategory[ID]" Sort="Hold DESC, UpdateTime DESC">
			<ul class="List8">
				<ali:Record>
					<%If String.Equals(Type, "Picture")%>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Title%>"<%=Style%>>【图片】<%=Title%></a><span>(<%=UpdateTime%>)</span></li>
					<%ElseIf String.Equals(Type, "Audio")%>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Title%>"<%=Style%>>【音频】<%=Title%></a><span>(<%=UpdateTime%>)</span></li>
					<%ElseIf String.Equals(Type, "Video")%>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Title%>"<%=Style%>>【视频】<%=Title%></a><span>(<%=UpdateTime%>)</span></li>
					<%ElseIf String.Equals(Type, "Flash")%>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Title%>"<%=Style%>>【Flash】<%=Title%></a><span>(<%=UpdateTime%>)</span></li>
					<%ElseIf String.Equals(Type, "File")%>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Title%>"<%=Style%>>【文件】<%=Title%></a><span>(<%=UpdateTime%>)</span></li>
					<%Else%>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Title%>"<%=Style%>><%=Title%></a><span>(<%=UpdateTime%>)</span></li>
					<%EndIf%>
				</ali:Record>
			</ul>
		</ali:List>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="分页" -->
		<ali:Pagination Page="PageNumber" PageSize="25" RecordCount="List[RecordCount]">
			<div class="Pagination">
				<ali:FirstPage>
					<ali:Yes>
						<span class="Disabled">&lt;&lt;</span>
						<span class="Disabled">&lt;</span>
					</ali:Yes>
					<ali:No>
						<a href="<%=FirstPage%>" title="首页">&lt;&lt;</a>
						<a href="<%=PreviousPage%>" title="上一页" id="PrevPage">&lt;</a>
					</ali:No>
				</ali:FirstPage>
				<ali:CurrentPage Range="5">
					<ali:Yes>
						<span class="Selected"><%=Index%></span>						
					</ali:Yes>
					<ali:No>
						<a href="<%=URL%>"><%=Index%></a>
					</ali:No>
				</ali:CurrentPage>
				<ali:LastPage>
					<ali:Yes>
						<span class="Disabled">&gt;</span>
						<span class="Disabled">&gt;&gt;</span>
					</ali:Yes>
					<ali:No>
						<a href="<%=NextPage%>" title="下一页" id="NextPage">&gt;</a>
						<a href="<%=LastPage%>" title="尾页">&gt;&gt;</a>
					</ali:No>
				</ali:LastPage>
			</div>
		</ali:Pagination>
		<!-- TemplateEndEditable -->

		<!-- TemplateBeginEditable name="广告位：文章 - 分页下方" -->
		<div class="Ad15">
			<ali:Ad Guid="{3BAED984-28B4-4a7f-8B69-6645CEC3FE72}">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:468px;height:60px" /></a>
			</ali:Ad>
		</div>
		<!-- TemplateEndEditable -->
	</div>
</div>

<!-- TemplateBeginEditable name="广告位：文章 - 网页底部" -->
<div class="Wrap">
	<div class="Ad9">
		<ali:Ad Guid="{AA0C063F-7DEE-4c50-88B2-36150F7FEBEC}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad9.jpg" alt="Ad" style="width:980px;height:70px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="友情连接" -->
<ali:List Mark="System" Object="Link" Condition="IsChecked=true">
	<div class="Wrap">
		<div class="Link">
			<h1>友情链接</h1>
			<ul>
				<ali:Record>
					<li>
						<%If Convert.IsDBNull(Logo)%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						<%Else%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a>
						<%EndIf%>
					</li>
				</ali:Record>
			</ul>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Footer">
		<!-- TemplateBeginEditable name="脚注菜单" -->
		<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
			<ali:Record>
				<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
			<hr size="1" />
		</ali:Menu>
		<!-- TemplateEndEditable -->
	
		<%=Footer%>
	</div>
</div>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
